If _a_t_t_r_i_b__l_i_s_t is NNNNUUUULLLLLLLL then ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX returns an array of GLX
frame buffer configurations that are available on the specified screen;
otherwise ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX returns an array of GLX frame buffer
configurations that match the specified attributes. If an error occurs,
no frame buffer configurations exist on the specified screen, or if no
frame buffer configurations match the specified attributes, then NNNNUUUULLLLLLLL is
returned. Use XXXXFFFFrrrreeeeeeee to free the memory returned by
GGGGLLLLXXXX____AAAACCCCCCCCUUUUMMMM____AAAALLLLPPPPHHHHAAAA____SSSSIIIIZZZZEEEE Must be followed by a nonnegative minimum size
specification. If this value is zero, frame
buffer configurations with no alpha accumulation
buffer are preferred. Otherwise, the largest
possible alpha accumulation buffer of at least
the minimum size is preferred. The default
value is 0.
GGGGLLLLXXXX____SSSSAAAAMMMMPPPPLLLLEEEE____BBBBUUUUFFFFFFFFEEEERRRRSSSS____SSSSGGGGIIIISSSS Must be followed by the minimum acceptable
number of multisample buffers. Configurations
with the smallest number of multisample buffers
that meet or exceed this minimum number are
preferred. Currently operation with more than
one multisample buffer is undefined, so only
values of zero or one will produce a match. The
default value is 0.
GGGGLLLLXXXX____SSSSAAAAMMMMPPPPLLLLEEEESSSS____SSSSGGGGIIIISSSS Must be followed by the minimum number of
samples required in multisample buffers.
Configurations with the smallest number of
samples that meet or exceed the specified
minimum number are preferred. Note that it is
possible for color samples in the multisample
buffer to have fewer bits than colors in the
main color buffers. However, multisampled
colors maintain at least as much color
resolution in aggregate as the main color
buffers.
The default value is 0.
GGGGLLLLXXXX____TTTTRRRRAAAANNNNSSSSPPPPAAAARRRREEEENNNNTTTT____TTTTYYYYPPPPEEEE____EEEEXXXXTTTT Must be followed by one of GGGGLLLLXXXX____NNNNOOOONNNNEEEE____EEEEXXXXTTTT,
GGGGLLLLXXXX____TTTTRRRRAAAANNNNSSSSPPPPAAAARRRREEEENNNNTTTT____IIIINNNNDDDDEEEEXXXX____EEEEXXXXTTTT. If GGGGLLLLXXXX____NNNNOOOONNNNEEEE____EEEEXXXXTTTT is
specified, then only opaque frame buffer
configurations will be considered; if
GGGGLLLLXXXX____TTTTRRRRAAAANNNNSSSSPPPPAAAARRRREEEENNNNTTTT____RRRRGGGGBBBB____EEEEXXXXTTTT is specified, then only
transparent frame buffer configurations that
support RGBA rendering will be considered; if
GGGGLLLLXXXX____TTTTRRRRAAAANNNNSSSSPPPPAAAARRRREEEENNNNTTTT____IIIINNNNDDDDEEEEXXXX____EEEEXXXXTTTT is specified, then
only transparent frame buffer configurations
that support color index rendering will be
considered. The default value is GGGGLLLLXXXX____NNNNOOOONNNNEEEE____EEEEXXXXTTTT.
GGGGLLLLXXXX____VVVVIIIISSSSUUUUAAAALLLL____CCCCAAAAVVVVEEEEAAAATTTT____EEEEXXXXTTTT Must be followed by one of GGGGLLLLXXXX____NNNNOOOONNNNEEEE____EEEEXXXXTTTT,
GGGGLLLLXXXX____SSSSLLLLOOOOWWWW____VVVVIIIISSSSUUUUAAAALLLL____EEEEXXXXTTTT, GGGGLLLLXXXX____NNNNOOOONNNN____CCCCOOOONNNNFFFFOOOORRRRMMMMAAAANNNNTTTT____EEEEXXXXTTTT. If
GGGGLLLLXXXX____NNNNOOOONNNNEEEE____EEEEXXXXTTTT is specified, then only frame
buffer configurations with no caveats will be
considered; if GGGGLLLLXXXX____SSSSLLLLOOOOWWWW____VVVVIIIISSSSUUUUAAAALLLL____EEEEXXXXTTTT, is specified
then only slow frame buffer configurations will
be considered; if GGGGLLLLXXXX____NNNNOOOONNNN____CCCCOOOONNNNFFFFOOOORRRRMMMMAAAANNNNTTTT____EEEEXXXXTTTT is
specified then only non-conformant frame buffer
configurations will be considered. The default
value is "don't care".
GGGGLLLLXXXX____DDDDRRRRAAAAWWWWAAAABBBBLLLLEEEE____TTTTYYYYPPPPEEEE____SSSSGGGGIIIIXXXX Must be followed by a mask indicating which GLX
drawable types the frame buffer configuration
must support. Valid bits are
GGGGLLLLXXXX____WWWWIIIINNNNDDDDOOOOWWWW____BBBBIIIITTTT____SSSSGGGGIIIIXXXX, GGGGLLLLXXXX____PPPPIIIIXXXXMMMMAAAAPPPP____BBBBIIIITTTT____SSSSGGGGIIIIXXXX and
GGGGLLLLXXXX____PPPPBBBBUUUUFFFFFFFFEEEERRRR____BBBBIIIITTTT____SSSSGGGGIIIIXXXX. For example, if mask is
set to GGGGLLLLXXXX____WWWWIIIINNNNDDDDOOOOWWWW____BBBBIIIITTTT____SSSSGGGGIIIIXXXX |
GGGGLLLLXXXX____PPPPIIIIXXXXMMMMAAAAPPPP____BBBBIIIITTTT____SSSSGGGGIIIIXXXX, only frame buffer
configurations that support both windows and GLX
pixmaps will be considered. The default value
is GGGGLLLLXXXX____WWWWIIIINNNNDDDDOOOOWWWW____BBBBIIIITTTT____SSSSGGGGIIIIXXXX.
GGGGLLLLXXXX____RRRREEEENNNNDDDDEEEERRRR____TTTTYYYYPPPPEEEE____SSSSGGGGIIIIXXXX Must be followed by a mask indicating which
OpenGL rendering modes the frame buffer
configuration must support. Valid bits are
GGGGLLLLXXXX____RRRRGGGGBBBBAAAA____BBBBIIIITTTT____SSSSGGGGIIIIXXXX and GGGGLLLLXXXX____CCCCOOOOLLLLOOOORRRR____IIIINNNNDDDDEEEEXXXX____BBBBIIIITTTT____SSSSGGGGIIIIXXXX.
If the mask is set to GGGGLLLLXXXX____RRRRGGGGBBBBAAAA____BBBBIIIITTTT____SSSSGGGGIIIIXXXX |
GGGGLLLLXXXX____CCCCOOOOLLLLOOOORRRR____IIIINNNNDDDDEEEEXXXX____BBBBIIIITTTT____SSSSGGGGIIIIXXXX then only frame buffer
GGGGLLLLXXXX____XXXX____VVVVIIIISSSSUUUUAAAALLLL____TTTTYYYYPPPPEEEE____EEEEXXXXTTTT Must be followed by one of GGGGLLLLXXXX____TTTTRRRRUUUUEEEE____CCCCOOOOLLLLOOOORRRR____EEEEXXXXTTTT,
GGGGLLLLXXXX____SSSSTTTTAAAATTTTIIIICCCC____GGGGRRRRAAAAYYYY____EEEEXXXXTTTT, indicating the desired X
visual type. Not all frame buffer
configurations have an associated X visual. If
GGGGLLLLXXXX____DDDDRRRRAAAAWWWWAAAABBBBLLLLEEEE____TTTTYYYYPPPPEEEE____SSSSGGGGIIIIXXXX is specified in
_a_t_t_r_i_b__l_i_s_t and the mask that follows does not
have GGGGLLLLXXXX____WWWWIIIINNNNDDDDOOOOWWWW____BBBBIIIITTTT____SSSSGGGGIIIIXXXX set, then this value is
ignored. It is also ignored if
GGGGLLLLXXXX____XXXX____RRRREEEENNNNDDDDEEEERRRRAAAABBBBLLLLEEEE____SSSSGGGGIIIIXXXX is specified as FFFFaaaallllsssseeee.
RGBA rendering may be supported for visuals of
type GGGGLLLLXXXX____TTTTRRRRUUUUEEEE____CCCCOOOOLLLLOOOORRRR____EEEEXXXXTTTT, GGGGLLLLXXXX____DDDDIIIIRRRREEEECCCCTTTT____CCCCOOOOLLLLOOOORRRR____EEEEXXXXTTTT,
GGGGLLLLXXXX____PPPPSSSSEEEEUUUUDDDDOOOO____CCCCOOOOLLLLOOOORRRR____EEEEXXXXTTTT, or GGGGLLLLXXXX____SSSSTTTTAAAATTTTIIIICCCC____CCCCOOOOLLLLOOOORRRR____EEEEXXXXTTTT,
but color index rendering is only supported for
visuals of type GGGGLLLLXXXX____PPPPSSSSEEEEUUUUDDDDOOOO____CCCCOOOOLLLLOOOORRRR____EEEEXXXXTTTT or
The tokens GGGGLLLLXXXX____GGGGRRRRAAAAYYYY____SSSSCCCCAAAALLLLEEEE____EEEEXXXXTTTT and
GGGGLLLLXXXX____SSSSTTTTAAAATTTTIIIICCCC____GGGGRRRRAAAAYYYY____EEEEXXXXTTTT will not match current
OpenGL enabled visuals, but are included for
future use.
The default value for GGGGLLLLXXXX____XXXX____VVVVIIIISSSSUUUUAAAALLLL____TTTTYYYYPPPPEEEE____EEEEXXXXTTTT is
"don't care".
GGGGLLLLXXXX____XXXX____RRRREEEENNNNDDDDEEEERRRRAAAABBBBLLLLEEEE____SSSSGGGGIIIIXXXX Must be followed by TTTTrrrruuuueeee or FFFFaaaallllsssseeee. If TTTTrrrruuuueeee is
specified, then only frame buffer configurations
that have associated X visuals (and can be used
to render to Windows and/or GLX pixmaps) will be
considered. The default value is "don't care".
GGGGLLLLXXXX____FFFFBBBBCCCCOOOONNNNFFFFIIIIGGGG____IIIIDDDD____SSSSGGGGIIIIXXXX Must be followed by an XID for a GLXFBConfig.
When GGGGLLLLXXXX____FFFFBBBBCCCCOOOONNNNFFFFIIIIGGGG____IIIIDDDD____SSSSGGGGIIIIXXXX is specified in
_a_t_t_r_i_b__l_i_s_t, all other attributes are ignored,
and only the frame buffer configuration with the
given XID is returned. NNNNUUUULLLLLLLL is returned if the
frame buffer configuration does not exist. The
default value for GGGGLLLLXXXX____FFFFBBBBCCCCOOOONNNNFFFFIIIIGGGG____IIIIDDDD____SSSSGGGGIIIIXXXX is "don't
care".
When more than one GLX frame buffer configuration matches the specified
attributes, a list of matching configurations is returned. The list is
sorted according to the following precedence rules that are applied in
ascending order (i.e., configurations that are considered equal by lower
numbered rule are sorted by the higher numbered rule):
1. by GLX_VISUAL_RATING_EXT where the precedence is GLX_NONE_EXT,
GLX_NON_CONFORMANT, GLX_SLOW_VISUAL.
2. larger total number of RGBA color components (GLX_RED_BITS,
GLX_GREEN_BITS, GLX_BLUE_BITS, and GLX_ALPHA_BITS) that have higher
number of bits,
3. smaller GLX_INDEX_BITS,
4. single buffered configuration (GLX_DOUBLE_BUFFER being False)
precedes a double buffered one,
5. smaller GLX_AUX_BUFFERS,
6. smaller GLX_SAMPLE_BUFFERS_SGIS,
7. smaller GLX_SAMPLES_SGIS,
8. larger GLX_DEPTH_BITS,
9. smaller GLX_STENCIL_BITS,
10. larger total number of accumulation buffer color components
(GLX_ACCUM_RED_BITS, GLX_ACCUM_GREEN_BITS, GLX_ACCUM_BLUE_BITS, and
GLX_ACCUM_ALPHA_BITS) that have higher number of bits;
11. sort by GLX_VISUAL_TYPE_EXT where the precedence order is
Specifies a frame buffer configuration that supports RGBA rendering and
exists in the normal frame buffer, not an overlay or underlay buffer.
The returned visual supports at least four bits each of red, green, and
blue, and possibly no bits of alpha. It does not support stereo display.
It may or may not have one or more auxiliary color buffers, a back
buffer, a depth buffer, a stencil buffer, or an accumulation buffer.
NNNNOOOOTTTTEEEESSSS
ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX is part of the GGGGLLLLXXXX____SSSSGGGGIIIIXXXX____ffffbbbbccccoooonnnnffffiiiigggg extension.
ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX is implemented as a client-side utility; it does
not require a round-trip to the X server.
ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX and ggggllllXXXXGGGGeeeettttFFFFBBBBCCCCoooonnnnffffiiiiggggAAAAttttttttrrrriiiibbbbSSSSGGGGIIIIXXXX can be used to
implement selection algorithms other than the generic one implemented by
ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX. Call ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX to retrieve all the
frame buffer configurations on a particular screen or, alternatively, all
the frame buffer configurations with a particular set of attributes. Next
call ggggllllXXXXGGGGeeeettttFFFFBBBBCCCCoooonnnnffffiiiiggggAAAAttttttttrrrriiiibbbbSSSSGGGGIIIIXXXX to retrieve additional attributes for the
frame buffer configurations and then select between them.
GLX implementers are strongly discouraged, but not proscribed, from
changing the selection algorithm used by ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiiggggSSSSGGGGIIIIXXXX.
Therefore, selections may change from release to release of the client-
side library.
GGGGLLLLXXXX____SSSSAAAAMMMMPPPPLLLLEEEE____BBBBUUUUFFFFFFFFEEEERRRRSSSS____SSSSGGGGIIIISSSS and GGGGLLLLXXXX____SSSSAAAAMMMMPPPPLLLLEEEESSSS____SSSSGGGGIIIISSSS are not valid attributes
unless the SSSSGGGGIIIISSSS____mmmmuuuullllttttiiiissssaaaammmmpppplllleeee extension is supported.
GGGGLLLLXXXX____TTTTRRRRAAAANNNNSSSSPPPPAAAARRRREEEENNNNTTTT____GGGGRRRREEEEEEEENNNN____VVVVAAAALLLLUUUUEEEE____EEEEXXXXTTTT, GGGGLLLLXXXX____TTTTRRRRAAAANNNNSSSSPPPPAAAARRRREEEENNNNTTTT____BBBBLLLLUUUUEEEE____VVVVAAAALLLLUUUUEEEE____EEEEXXXXTTTT, and
GGGGLLLLXXXX____TTTTRRRRAAAANNNNSSSSPPPPAAAARRRREEEENNNNTTTT____AAAALLLLPPPPHHHHAAAA____VVVVAAAALLLLUUUUEEEE____EEEEXXXXTTTT are not valid attributes unless the
EEEEXXXXTTTT____vvvviiiissssuuuuaaaallll____iiiinnnnffffoooo extension is supported.
GGGGLLLLXXXX____VVVVIIIISSSSUUUUAAAALLLL____CCCCAAAAVVVVEEEEAAAATTTT____EEEEXXXXTTTT is not a valid attribute unless the
EEEEXXXXTTTT____vvvviiiissssuuuuaaaallll____rrrraaaattttiiiinnnngggg extension is supported.
EEEERRRRRRRROOOORRRRSSSS
NNNNUUUULLLLLLLL is returned if an undefined GLX attribute is encountered in
_a_t_t_r_i_b__l_i_s_t, if _s_c_r_e_e_n is invalid or if _d_p_y does not support the GLX
The SSSSGGGGIIIISSSS____mmmmuuuullllttttiiiissssaaaammmmpppplllleeee extension is supported only on RRRReeeeaaaalllliiiittttyyyyEEEEnnnnggggiiiinnnneeee,
RRRReeeeaaaalllliiiittttyyyyEEEEnnnnggggiiiinnnneeee2222, and VVVVTTTTXXXX systems and IIIInnnnffffiiiinnnniiiitttteeeeRRRReeeeaaaalllliiiittttyyyy systems.